package com.wavefront.obj.parser.line;

import com.wavefront.obj.parser.LineParser;
import com.wavefront.obj.parser.ObjParser;

public class MaterialParser extends LineParser {
	
	String materialName = "";

	@Override
	public void parse(String[] words) {
		super.parse(words);
		materialName = words[1];
		ObjParser.currentMaterial = ObjParser.currentModel.getMaterial(materialName);
	}

}
